<template>
  <div class="home">
    <Header title="加班/休假">
      <template v-slot:left>
        <span>&lt;</span>
      </template>
    </Header>
    <div class="nav_bar">
      <div>待处理</div>
      <div>已发起</div>
      <div>已处理</div>
    </div>
    <div class="tab_bar">
      <div class="tab_inn">
        <span>加班</span>
      <span>休假</span>
      </div>
      
    </div>
    <div class="list">
      <div class="item">
        111
      </div>
      <div class="item">
        111
      </div>
    </div>
   <div class="add_rw" @click="showmask=true" @hindmask="showmask=false"> +发起任务
     <!-- <router-link to="/fqsq"></router-link> -->
   </div>
   <Masks v-show="showmask"></Masks>
  </div>
</template>

<script>
import Masks from '../../components/Mask'
import Header from '../Common/Header'
export default {
  data() {
    return {
      showmask:false
    }
  },
 components: {
   Header,Masks
 }
}
</script>
<style lang="scss">
.home{
  width: 100%;
  height: 667px;
  position: relative;
  .list{
      width: 100%;
      height: 447px;
      overflow: auto;
      .item{
        width: 100%;
        height: 100px;
        border-bottom: 8px solid #eee;
      }
    }
}
.add_rw{
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: green;
  width: 130px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  text-align: center;
  a{
  color: #fff;
  }
}
  .nav_bar{
    width: 100%;
    height: 100px;
    line-height: 100px;
    display: flex;
    box-shadow:2px 2px 5px #ccc;
    div{
      flex: 1;
      text-align: center;
      
    }
  }
  .tab_bar{
     width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    .tab_inn{
      margin-top: 25px;
      width: 160px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      background: #ccc;
      border-radius: 15px;
      display: flex;
      span{
        flex: 1;
        text-align: center;
      }
    }
  }
</style>